class Cereal

Base class of farmed/foraged cereal. Stores some values common to multiple types of cereal.

Attributes

growth_rate[RW]

Public Class Methods

new(cc, area) click to toggle source
Calls superclass method FoodResource.new
# File lib/cereal.rb, line 9
def initialize(cc, area)
  super(cc, area)
  @handle_time = 120
  @energy_value = 3390
  @growth_rate = 1
  @viable_size = 400
  @search_difficulty = 1
  @name = :Cereal
  @colour = [0.0, 1.0, 0.0] # G
end